package org.example.service.impl;

import org.example.dao.UserDao;
import org.example.dao.impl.UserDaoImpl;
import org.example.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


//@Component
//@Repository
@Service
//@Controller
public class UserServiceImpl implements UserService {

    @Autowired
//    @Resource
    private UserDao userDao;



    @Override
    public void save() {
        userDao.insert();
    }
}
